{{define "Title"}}用户站点{{end}}
{{define "Content"}}

<fieldset>
  <legend><b>用户站点</b></legend>
</fieldset>

<script type=text/javascript src="/js/tablestyle.js"></script>

{{if .usrs}}
<div class="content-box">
<table id="tbl_ls" border="1" cellspacing="0" cellpadding="0">
  <thead>
    <tr>
      <th>索引</th>
      <th>用户代码</th>
      <th>用户名称</th>
      <th>站点</th>
    </tr>
  </thead>
  
  <tbody id="group_one">
  {{range .usrs}}
  <tr>
    <td id="detail_idx" fieldset style="color: #666666; border-style: groove; font-weight: bold; font-size: 14px" align="center" width="80">{{.Index | html}}</td>
    <td id="detail_uid" fieldset style="color: #666666; border-style: groove; font-weight: bold; font-size: 14px" align="center" width="120">{{.Id | html}}</td>
    <td id="detail_nam" fieldset style="color: #666666; border-style: groove; font-weight: bold; font-size: 14px" align="center" width="120">{{.Name | html}}</td>
    <td id="detail_rit" fieldset style="color: #666666; border-style: groove; font-weight: bold; font-size: 14px" width="300">{{.Rights | html}}</td>
  </tr>
  {{end}}
  </tbody>
</table>
</div>
{{end}}

{{end}}